package cn.kgc.blogcommon.pojo;

import lombok.Data;

import java.util.Date;
@Data
public class Comment {
    /**评论ID*/
    private Integer commentId;
    /**评论内容*/
    private String content;
    /**评论时间*/
    private Date createTime;
    /**评论人ID*/
    private Integer userId;
    /**新闻ID*/
    private Integer newsId;

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }
}
